package com.eas.biz.dao.statistic.dataobject;

import java.util.LinkedList;
import java.util.List;

import com.eas.biz.framework.BaseQuery;
import com.eas.biz.service.statistic.query.StatisticServiceQuery;

public class SchoolStatisticQuery extends BaseQuery {

    private Long areaId;

    private Long schoolId;

    private Long examId;

    private String subject;

    private String level;

    private List<Long> schoolIdList;

    public SchoolStatisticQuery(StatisticServiceQuery query) {
        if (query != null) {
            setSortBy(query.getSortField());
            setSort(query.getSortOrder());
        }
        schoolIdList = new LinkedList<Long>();
    }

    public Long getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Long schoolId) {
        this.schoolId = schoolId;
    }

    public Long getExamId() {
        return examId;
    }

    public void setExamId(Long examId) {
        this.examId = examId;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public List<Long> getSchoolIdList() {
        return schoolIdList;
    }

    public void setSchoolIdList(List<Long> schoolIdList) {
        this.schoolIdList = schoolIdList;
    }
}
